package com.gxa.modules.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 *回收站vo实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RetrieveDTO {

    /**
     * 主键id
     */
    @TableField("customer_id" )
    private Integer customerId;

    /**
     * 客户名称
     */
    @TableField("contact_name" )
    private String customerName;

    /**
     * 删除原因
     */
    @TableField("delete_reason" )
    private String deleteReason;

    /**
     * 删除时间
     */
    @TableField("delete_date" )
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date deleteDate;


    /**
     * 业务员
     */
    @TableField("employee_name" )
    private String employeeName;

    /**
     * 已删除数量
     */
//    private Integer count;

}
